//Daen
package cn.lanqiao.entiy;

public class Teacher {
	private String t_id;
	private String tname;
	private String tsex;
	private String p_id;
	private String m_id;
	private String tphone;
	
	public String getT_id() {
		return t_id;
	}
	public void setT_id(String t_id) {
		this.t_id = t_id;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public String getTsex() {
		return tsex;
	}
	public void setTsex(String tsex) {
		this.tsex = tsex;
	}
	public String getP_id() {
		return p_id;
	}
	public void setP_id(String p_id) {
		this.p_id = p_id;
	}
	public String getM_id() {
		return m_id;
	}
	public void setM_id(String m_id) {
		this.m_id = m_id;
	}
	public String getTphone() {
		return tphone;
	}
	public void setTphone(String tphone) {
		this.tphone = tphone;
	}
	public Teacher(String t_id, String tname, String tsex, String p_id, String m_id, String tphone) {
		super();
		this.t_id = t_id;
		this.tname = tname;
		this.tsex = tsex;
		this.p_id = p_id;
		this.m_id = m_id;
		this.tphone = tphone;
	}
	
	@Override
	public String toString() {
		return "Teacher [t_id=" + t_id + ", tname=" + tname + ", tsex=" + tsex + ", p_id=" + p_id + ", m_id=" + m_id
				+ ", tphone=" + tphone + "]";
	}
	public Teacher() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
